package com.lu.netty.io.server

import com.lu.netty.io.core.EventType
import io.netty.channel.Channel

/**
 * File Name :IMessageListener
 * Author : qihualu
 * Date : 2024/4/12
 * Desc :
 **/

interface IServerAdapterCallback {
    fun onMessageArrived(channel: Channel, message: String)
    fun onEvent(channel: Channel, type: EventType)
}